package com.cloudkinto.service.stock.exportVo.age;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class BoxStockAgeExportVo {
    @Excel(name = "箱类型号")
    private String sku;
    @Excel(name = "自定义箱条码")
    private String productName;
    @Excel(name = "库存统计日期" , exportFormat = "yyyy-MM-dd")
    private Date date;
    @Excel(name = "仓库")
    private String whCode;
    @Excel(name = "库存属性", replace = {"正品_0", "次品_1"})
    private int stockAttribute;
    @Excel(name = "上架日期")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+9")
    private Date inputDate;
    @Excel(name = "数量")
    private int quantity;
    @Excel(name = "库龄(天)")
    private int age;

//    private BigDecimal heightBs;
//    private BigDecimal widthBs;
//    private BigDecimal lengthBs;
}
